<template>
  <div>
      <router-view></router-view>
    <div class="box">
      <router-link class="aa" to="./home">首页</router-link>
      <router-link class="aa" to="./look">找房</router-link>
      <router-link class="aa" to="./information">资讯</router-link>
      <router-link class="aa" to="./my">我的</router-link>
    </div>
  </div>
</template>

<script>
export default {
  props: {},

  data() {
    return {}
  },
}
</script>

<style scoped lang="less">
* {
  margin: 0px;
  padding: 0px;
}
.router-link-exact-active,
.router-link-active {
  background-color:pink !important;
}
.box {
  position: fixed;
  width: 100%;
  background-color: #ccc;
  bottom: 0;
  .aa {
    // margin-top: 100%;
    position: sticky;
    display: inline-block;
    color: green;
    text-align: center;
    line-height: 60px;
    width: 25%;
    height: 60px;
  }
}
</style>
